Formalizing the Halting Problem in a Constructive Type Theory

نویسنده

  • Kristofer Johannisson
چکیده

We present a formalization of the halting problem in Agda, a language based on Martin-Löf’s intuitionistic type theory. The key features are: – We give a constructive proof of the halting problem. The “constructive halting problem” is a natural reformulation of the classic variant. – A new abstract model of computation is introduced, in type theory. – The undecidability of the halting problem is proved via a theorem similar to Rice’s theorem. The central idea of the formalization is to abstract from the details of specific models of computation. This is accomplished by formulating a number of axioms which describe an abstract model of computation, and proving that the halting problem is undecidable in any model described by these axioms.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Some improvements in fuzzy turing machines

In this paper, we improve some previous definitions of fuzzy-type Turing machines to obtain degrees of accepting and rejecting in a computational manner. We apply a BFS-based search method and some level’s upper bounds to propose a computational process in calculating degrees of accepting and rejecting. Next, we introduce the class of Extended Fuzzy Turing Machines equipped with indeterminacy s...

متن کامل

Automata Theory - Final (Solutions)

1. Diagonalization: The Halting problem is defined as follows: Given a TuringMachineM = 〈Q, {0, 1},Γ, δ, q0,2, F 〉 and a string w ∈ Σ∗, determine whether M halts on w. In class, we proved that the Halting problem is undecidable using two different techniques. The first technique was constructive, where we constructed a series of Turing Machines, which led to a contradiction. The second techniqu...

متن کامل

CS6180 Lecture 22 – Theory of Computability in CTT

This lecture will summarise core ideas in the theory of computing, including basic recursive function theory, using concepts from type theory. A fundamental concept is the type of partial recursive functions over the natural numbers and other types. The basic results include proofs that certain questions about partial functions are unsolvable, such as whether they converge on a specific input. ...

متن کامل

Resumption-based big-step and small-step interpreters for While with interactive I/O

In this tutorial, we program big-step and small-step total interpreters for the While language extended with input and output primitives. While is a simple imperative language consisting of skip, assignment, sequence, conditional and loop. We first develop trace-based interpreters for While. Traces are potentially infinite nonempty sequences of states. The interpreters assign traces to While pr...

متن کامل

An interpretation of the Sigma-2 fragment of classical Analysis in System T

We consider the Double-negation Shift (DNS) as a constructive principle in its own right and its effect on modified realizability (MR) and Dialectica (D) interpretations. We notice that DNS proves its own MR-interpretation, meaning that a priori one does not have to consider the more complex D-interpretation with Bar Recursion for interpreting Analysis. From the “with truth” variant of MR, we o...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2000